package com.ning.ems.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author Ning 242741154@qq.com
 * @date 2020/6/3 15:06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("VO-Package")
public class PackageVo {
    @ApiModelProperty("Primary key")
    private Integer id;

    @ApiModelProperty("describe")
    private String desc;
    @ApiModelProperty("weight")
    private Double weight;

    @ApiModelProperty("sender")
    private String sender;
    @ApiModelProperty("sender address")
    private String senderAddr;

    @ApiModelProperty("receiver")
    private String receiver;
    @ApiModelProperty("receiver address")
    private String receiverAddr;

    @ApiModelProperty("order time")
    private LocalDateTime time;
    @ApiModelProperty("current status")
    private String currState;
}
